<!--
 * @Author: wangzhichiao<https://github.com/wzc570738205>
 * @Date: 2017-09-10 22:04:23
 * @LastEditors: wangzhichiao<https://github.com/wzc570738205>
 * @LastEditTime: 2021-07-02 10:07:22
-->
<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8" />
		<title>Photo Sphere Viewer</title>
		<meta name="viewport" content="initial-scale=1.0" />
		<script src="./three.min.js"></script>
		<script src="./photo-sphere-viewer.min.js"></script>
		<style>
			html, body {
				margin: 0;
				width: 100%;
				height: 100%;
				overflow: hidden;
			}

			#container {
				width: 100%;
				height: 100%;
				cursor: pointer;
			}
		</style>
	</head>

	<body>
		<div id="container"></div>

		<script>
			var div = document.getElementById('container');
			var PSV = new PhotoSphereViewer({
					panorama: './parc-saint-pierre-amiens.jpg',
					loading_msg:'正在加载全景图，请耐心等待...',
					anim_speed:'0.5rpm',
					vertical_anim_speed:'0.5rpm',
					container: div,
					time_anim: 3000,
					navbar: true,
					navbar_style: {
						backgroundColor: 'rgba(58, 67, 77, 0.7)'
					},
				});
		</script>
	</body>

</html>
